import request from "@/utils/request";

//纸张库存统计
export function infoStat(data) {
  return request({
    url: "/mes/inventory/info/stat",
    method: "get",
    params:data,
  });
}

//纸张流转
export function getPaperCirculationList(data) {
  return request({
    url: "/mes/paper/getPaperCirculationList",
    method: "get",
    params:data,
  });
}

// 导出
export const paperInventoryExport = (data) => {
  return request({
    url: "/mes/inventory/info/paperInventoryExport",
    method: "post",
    data,
    responseType: "blob",
  });
};
// 导出
export const exportPaperCirculationList = (params) => {
  return request({
    url: "/mes/paper/exportPaperCirculationList",
    method: "get",
    params,
    // responseType: "blob",
  });
};